import { ColumnProps } from "ant-design-vue/types/table/column";

const columns: ColumnProps<any>[] = [
    {
        title: "应用图标",
        dataIndex: "iconPath",
        align: "center",
        slots: { customRender: "iconPath" },
    },
    {
        title: "应用名称",
        dataIndex: "remarks",
        align: "center",
        ellipsis: true,
    },
    {
        title: "应用大小",
        dataIndex: "appSize",
        align: "center",
    },
    {
        title: "下载地址",
        dataIndex: "lid",
        align: "center",
        slots: { customRender: "lid" },
    },
    {
        title: "上传时间",
        dataIndex: "time",
        align: "center",
        ellipsis: true,
        slots: { customRender: "time" },
    },
    {
        title: "今日下载次数",
        dataIndex: "todaydow",
        align: "center",
    },
    {
        title: "总下载次数",
        dataIndex: "dowTimes",
        align: "center",
    },
    {
        title: "操作",
        dataIndex: "operating",
        align: "center",
        slots: { customRender: "operating" },
    },
];

export default columns